package com.book.mapper;

import java.util.List;

import com.book.entity.Topic;
import com.book.entity.TopicDetails;

public interface TopicMapper {
	public void insertTopic(Topic topic);
	public List<Topic> selectAllTopicAndDetails();
	public  void insertReply(TopicDetails details);
	public List<Topic> selectAllTopicAndDetailsByUsername(String username);
	public List<Topic> selectAllReplyByUsername(String username);
}
